package subject.homework.zoosystrem.father;

public class ParkInfo {
    //学院名称
    private  String parkName;
    //雪板办公楼
    private  String parkBuilding;

    //方法重写
    public ParkInfo(){}
    public ParkInfo(String parkNameName, String parkBuilding){
        this.parkName = parkNameName;
        this.parkBuilding = parkBuilding;
    }
    public ParkInfo(String parkName){
        this.parkName = parkName;
    }

    //操作
    public String getParkName() {
        return parkName;
    }

    public void setCollegeName(String collegeName) {
        this.parkName = collegeName;
    }

    public String getParkBuilding() {
        return parkBuilding;
    }

    public void setParkBuilding(String parkBuilding) {
        this.parkBuilding = parkBuilding;
    }
}
